%MY_SIMPLE1DFFTDENOISE preforms a simple denoise of the noisy function nf
%(spatial domain) using the frequenzy domain.
% The more one applies the Fourier transform to the noisy signal the more
% it denoises it. To observe this effect, change the denoise constant.
function [ dnf ] = my_simple1DDFTDenoise( nf )

N = size(nf,2);
denoiseK = 5;

dft = my_dft1D(nf).^denoiseK;
dnf = my_idft1D(dft);

end

